home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
dtype
/
fontdt12.lha
/
Install FontDT
< prev
next >
Wrap
Text File
|
1996-05-03
|
2KB
|
92 lines
; Installer script for FontDT
; $VER: Install FontDT 39.4 (3.5.96)
(complete 0)
(set @l-dest "LIBS:DataTypes/")
(set @permanent-dest "DEVS:DataTypes/")
(set @default-dest "SYS:Storage/DataTypes/")
(set #dt "Libs/DataTypes/font.datatype")
(set #recog "Devs/DataTypes/")
; ***************************************************************************
; English strings
(set #bad-kick
(cat "You must have AmigaDOS 3.0 or higher to use FontDT!"))
(set #welcome
(cat "\nFontDT installation\n\n\n"
"This script will install FontDT 1.2\n"
"on your Amiga.\n\n\n\n"
"FontDT is\n"
"Copyright © 1995-96 Michal Letowski\n"
"All rights reserved.\n\n"))
(set #where-driver
(cat "Should FontDT be installed permanently?"))
(set #where-help
(cat "\nDataTypes can be installed as Permanently Enabled"
" or Manually Selectable.\n"
"Pemanently Enabled means that the DataType is always"
" ready for use.\n"
"Manually Selectable means that the datatype has to be"
" activated before it can be used.\n"))
; ***************************************************************************
; Install FontDT
; Check AmigaDOS version
(set #version (/ (getversion) 65536))
(if (< #version 39)
(
(abort #bad-kick)
)
)
(message #welcome)
(welcome)
(set old_level @user-level)
(user 2)
(set #perm
(askbool
(prompt #where-driver)
(help #where-help)
(default 0))
)
(if #perm
(set @recog-dest @permanent-dest)
(set @recog-dest @default-dest)
)
; Do copy
(user old_level)
; Copy library
(copylib
(source #dt)
(dest @l-dest)
)
(complete 50)
; Copy recog
(copyfiles
(source #recog)
(dest @recog-dest)
(all)
)
(complete 80)
; Activate descriptors if Permanently enabled
(if #perm
(run "AddDataTypes REFRESH")
)
(complete 100)
(set @default-dest "")
(exit)